import React from "react";
import {Col, Row} from "reactstrap";

const BlockIndicator = props => {
    return (
        <Col md={3}>
            <div className="event-indicator-block">
                <Row>
                    <Col md={9} className="col-9">
                        <div className="event-title14">{props.title}</div>
                        <span className="event-title14 event-indicator-price">
                            {props.data || 0}
                        </span>
                    </Col>
                    <Col md={3} className="text-right col-3">
                        <props.icon />
                    </Col>
                </Row>
            </div>
        </Col>
    )
};

export default BlockIndicator;
